<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>pdf文件预览</title>
  <script src="../jquery-1.9.1.min.js"></script>
  <script src="./build/pdf.js"></script>
  <script src="js/index.js"></script>
  <script type="text/JavaScript">
    $(function () {
        $("#pdfContainer").attr("src", "./web/viewer.html?file=../zhibo.pdf#page=1");
    });
  </script>
</head>

<body>
  <div id="showPdf">
    <iframe id="pdfContainer" src="" width="100%" frameborder="0"></iframe>
  </div>
</body>

</html>